﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace WPFGeebaClient
{
    /// <summary>
    /// Interaction logic for SubfourmControl.xaml
    /// </summary>
    public partial class SubfourmControl : UserControl
    {
        public SubfourmControl(string topic, string threadCount)
        {
            InitializeComponent();
            txtTopic.Content = topic;
            txtThreadCount.Content = threadCount;
            if (MainWindow.user.userType != ServerAdapter.WcfGeebaService.UserType.Admin)
            {
                labelThreadCount.Visibility = System.Windows.Visibility.Collapsed;
                txtThreadCount.Visibility = System.Windows.Visibility.Collapsed;
            }
        }

        private void removeSubFrmBtn_Click(object sender, RoutedEventArgs e)
        {
            
        }
    }
}
